package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.SpuInfo;
import com.atguigu.gulimall.product.vo.SpuSaveInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author nicc
 * @description 针对表【spu_info(商品表)】的数据库操作Service
 * @createDate 2022-09-29 16:18:40
 */
public interface SpuInfoService extends IService<SpuInfo> {
    /**
     *
     * @param page 初始页码
     * @param limit 每页大小
     * @param category3Id 三级分类id
     */
    Page<SpuInfo> getSpuPage(Integer page, Integer limit, Long category3Id);


    /**
     * 保存spu属性
     * @param spuSaveInfoVo
     */
    void saveSpuInfo(SpuSaveInfoVo spuSaveInfoVo);
}